package com.hurl.stock.biz.jcsj;

public class SinaSssjLocation extends AbsDSLocation{

	private String gpdm;
	private String prefix;
	
	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getGpdm() {
		return gpdm;
	}

	public void setGpdm(String gpdm) {
		this.gpdm = gpdm;
	}

	public String getURI(){
		return getProtocol()+"://"+getDomain()+":"+getPort()+getPath()+getQueryString();
	}
	
	@Override
	public String getDomain() {
		return "hq.sinajs.cn";
	}

	@Override
	public String getPath() {
		return "/";
	}

	
	@Override
	public String getProtocol() {
		return "http";
	}
	
	@Override
	public String getQueryString() {
		return "list="+prefix+gpdm;
	}
	
}
